<?php
/**
 * Created by PhpStorm.
 * User: 周超
 * Date: 2016/11/17
 * Time: 17:50
 */

namespace App\Http\Routes;

use Illuminate\Contracts\Routing\Registrar;
class MasksRoute
{
    public function map(Registrar $router)
    {
        $router->group(['middleware' => 'api',
            'prefix' => 'api/masks',], function ($router) {
            $router->post('list',['uses' =>'Api\MasksController@postList']);
        });
    }
}